{"version":3,"sources":["script.js"],"names":["window","quoteData","repo","listById","Map","listByXmlId","FCList","params","add","this","exemplarId","ENTITY_XML_ID","template","scope","node","main","navigation","navigationLoader","history","newComments","formHolder","writersBlock","BX","findChild","attrs","id","getXmlId","join","writers","ajax","eventNode","form","type","isNotEmptyString","UCForm","bindFormToEntity","order","mid","parseInt","operationIds","canCheckVisibleComments","status","msg","innerHTML","rights","DATE_TIME_FORMAT","unreadComments","comments","blankComments","blankCommentsForAjax","bindEvents","registerNewComment","bind","registerBlankComment","privateEvents","onShowActions","el","fcShowActions","OnUCCommentIsInDOM","OnUCBlankCommentIsInDOM","onExpandComment","fcCommentExpand","windowEvents","OnUCCommentWasPulled","data","isOwnOperationId","setOperationId","live","check","OnUCommentWasDeleted","getCommentNode","hide","delete","OnUCommentWasHidden","Number","message","tagName","className","addClass","removeClass","OnUCUserIsWriting","evObj","sent","url","activity","method","AJAX_POST","COMMENT_EXEMPLAR_ID","MODE","sessid","bitrix_sessid","sign","PATH_TO_USER","AVATAR_SIZE","NAME_TEMPLATE","SHOW_LOGIN","OnUCAfterRecordAdd","OnUCFormSubmit","delegate","ENTITY_ID","formObject","currentEntity","getOperationId","OnUCFormResponse","OnUCFormBeforeShow","messageId","style","display","writersBlockPointer","create","parentNode","insertBefore","appendChild","OnUCFormAfterShow","findParent","OnUCFormBeforeHide","OnUCFormAfterHide","focus","firstChild","OnUCUsersAreWriting","entityId","authorId","authorName","authorAvatar","timeL","addWriter","OnUCCommentRecalculate","ii","nodes","length","recalcMoreButtonComment","getAttribute","isPlainObject","isDomNode","imageNode","commentNode","initialize","checkHash","registerComments","onCustomEvent","addCustomEvent","destroy","checkAndDestroy","Event","EventEmitter","incrementMaxListeners","ready","setTimeout","set","prototype","getId","util","getRandomString","push","i","checkVisibleComments","sendCommentAsBlank","scrSpy","watchNode","initNavigationEvents","initPostFormActivity","hasOwnProperty","isBoolean","DD","hasAttribute","dropFiles","unshift","e","eventCancelBubble","preventDefault","getPagenavigation","act","reply","quote","hideWriter","quoteShow","timerListenEnter","stopListenEnter","currentTarget","contains","relatedTarget","clearTimeout","fireDragEnter","apply","arguments","startListenEnter","removeCustomEvent","pop","unbindAll","decrementMaxListeners","clear","get","document","body","quotePopup","quoteCheck","text","range","author","getSelection","toString","selection","createRange","endParent","focusNode","startParent","anchorNode","replace","name","gender","__quoteShowClick","__quoteShowHide","MPLQuote","show","displayPagenavigation","startHeight","fxStart","fxFinish","time","offsetHeight","overflow","duration","start","height","opacity","finish","transition","easing","makeEaseOut","transitions","quart","step","state","maxHeight","complete","proxy","cssText","animate","adjust","html","sendPagenavigation","EXEMPLAR_ID","FILTER","htmlspecialcharsback","indexOf","substr","result","onsuccess","buildPagenavigation","onfailure","completePagenavigation","split","forEach","val","val1","runComponentAction","componentName","mode","signedParameters","then","prepareData","dataType","wait","ob","processHTML","container","HTML","res","href","events","click","cnt","func","childNodes","processScripts","SCRIPT","getCommentsCount","count","size","undefined","isElementNode","eventResult","caught","getPlaceholder","userId","avatar","t","title","children","background","backgroundSize","setAttribute","objAnswering","stop","removeChild","edit","animation","options","fcParseTemplate","messageFields","RIGHTS","VIEW_URL","EDIT_URL","MODERATE_URL","DELETE_URL","AUTHOR_URL","AUTHOR_URL_PARAMS","CLASSNAME","getTemplate","results","newCommentsContainer","acts","needToCheck","lastChild","hasClass","res2","addCheckPreviousNodes","findChildren","concat","changeOpacity","marginBottom","containerBody","containerForRemove","commentOuterNode","tag","expanded","classList","removeAttribute","scrollHeight","remove","Type","isUndefined","BXMobileApp","top","getClass","SidePanel","Instance","isOpen","isNotEmptyObject","BXRL","render","reactionsPopup","curPos","pos","scroll","GetWindowScrollPos","GetWindowInnerSize","scrollTop","innerHeight","scrollTo","cubic","viewElementBind","eval","isFunction","showWait","NOREDIRECT","ID","ACTION","OPERATION_ID","closeWait","showError","defer","errorText","isArray","errors","errorWindow","close","PopupWindow","autoHide","zIndex","overlay","backgroundColor","buttons","PopupWindowButton","closeByEsc","titleBar","content","props","closeIcon","contentColor","tw","exec","location","hash","collapsedBlock","checkB","querySelector","checked","contentBlock","has","bodyBlock","textBlock","moreButtonBlock","pos2","onLoadImageList","attr","funcOnLoad","addEventListener","onLoadVideoList","querySelectorAll","__boundOnForumSpoilerToggle","screenPosition","keys","getVisibleCommentIds","key","shift","markCommentAsRead","fclistdebug","markCommentAsBlank","bottom","next","done","value","offsetWidth","getClientRects","offsetParent","unset","sendCommentAsRead","__checkNodeCorner","cornerNode","node1","node2","new","sendCommentAsReadData","timeoutId","unbind","block","bxwaiter","fcShowWait","Array","from","success","fcCloseWait","messageData","getQuoteData","getInstance","lastWaitElement","disabled","waiter_parent","is_relative","position","panels","linkId","target","onclick","urlView","menuItemText","menuItemIconDone","protocol","host","clipboard","isCopySupported","copy","it","proxy_context","width","pos3","Math","max","select","callback","fx","popupWindow","hidden","moderateUrl","add_url_param","b24statAction","confirm","entityXmlId","Tasks","ResultAction","canCreateResult","taskId","ResultManager","getResult","context","canUnsetAsResult","deleteFromComment","canSetAsResult","createFromComment","Livefeed","commentEntityType","postEntityType","TaskCreator","entityType","postEntityXmlId","matches","match","parentTaskId","popupParams","offsetLeft","offsetTop","lightShadow","angle","offset","onPopupClose","PopupMenu","Data","UI","Animations","expand","moreButtonNode","classBlock","classOuter","classInner","heightLimit","commentContentId","txt","in_array","replacement","FULL_ID","CONTENT_ID","NEW","APPROVED","DATE","TEXT","VIEW_SHOW","EDIT_SHOW","MODERATE_SHOW","DELETE_SHOW","CREATETASK_SHOW","BEFORE_HEADER","BEFORE_ACTIONS","AFTER_ACTIONS","AFTER_HEADER","BEFORE","AFTER","BEFORE_RECORD","AFTER_RECORD","AUTHOR_ID","AUTHOR_AVATAR_IS","AUTHOR_AVATAR","AUTHOR_NAME","AUTHOR_EXTRANET_STYLE","SHOW_POST_FORM","SHOW_MENU","VOTE_ID","AUTHOR_TOOLTIP_PARAMS","LIKE_REACT","RATING_NONEMPTY_CLASS","timestamp","dateFormat","authorStyle","commentText","AUX_LIVE_PARAMS","AUX","CommentAux","getLiveText","date","format","Date","now","CREATESUBTASK_SHOW","CREATESUBTASK","AUTHOR_AVATAR_BG","formatName","AUTHOR_PERSONAL_GENDER","POST_ENTITY_TYPE","COMMENT_ENTITY_TYPE","ij","RegExp","DATA","autoHideTimeout","createElement","getOption","left","fire","checkEsc","getPosition","y","x","closeByEscBound","autoHideBound","autoHideTimeoutPointer","autoHideTimeoutBound","isShown","getEventButton","MSLEFT","cancelBubble","nodePos","pageX","doc","documentElement","clientX","scrollLeft","clientLeft","clientY","clientTop","pageY","event","stopPropagation","keyCode","checkEntitiesActuality","xmlId","lists","values","list","getActiveEntitiesByXmlId","entities","mplCheckForQuote","author_id","all","tmp","closestEntity","__boundXmlCheckQuote","__boundXmlEntityId","parent","entity","mplReplaceUserPath","isStringFilled","rootNode","commentBlocksList","commentThreadXmlId","outerBlock","ScreenSpy","timeoutSec","change","timeout","screen","watchDimensionNodes","WeakMap","command","toLowerCase","getLiveTypesList"],"mappings":"CAAC,WACAA,OAAO,MAASA,OAAO,OAAS,GAChC,GAAIA,OAAO,UACX,CACC,OAGD,IAAIC,UAAY,KACfC,KAAO,CACNC,SAAW,IAAIC,IACfC,YAAc,IAAID,KAGpBJ,OAAOM,OAAS,SAAUC,EAAQC,GACjCC,KAAKC,WAAaH,EAAO,eACzBE,KAAKE,cAAgBJ,EAAO,iBAC5BE,KAAKG,SAAWL,EAAO,YACvBE,KAAKI,MAAQ,MACbJ,KAAKK,KAAO,CACXC,KAAOR,EAAO,YACdS,WAAaT,EAAO,kBACpBU,iBAAmBV,EAAO,wBAC1BW,QAAUX,EAAO,sBACjBY,YAAcZ,EAAO,sBACrBa,WAAYb,EAAO,kBACnBc,aAAeC,GAAGC,UAAUhB,EAAO,kBAAmB,CAACiB,MAAQ,CAAEC,GAAK,CAAC,SAAUhB,KAAKiB,WAAY,iBAAiBC,KAAK,OAAQ,MAChIC,QAAUN,GAAGC,UAAUhB,EAAO,kBAAmB,CAACiB,MAAQ,CAAEC,GAAK,CA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